//
//  LYXPieChartView.h
//  BingTu
//
//  Created by 刘萍 on 2018/9/14.
//  Copyright © 2018年 李英新. All rights reserved.
//

#import <UIKit/UIKit.h>

typedef enum : NSUInteger {
    
    LYXGradientProgressStyleLine,
    LYXGradientProgressStyleCircle,
    
} LYXGradientProgressStyle;

@interface LYXPieChartView : UIView


+(instancetype)gradientProgressViewWithFrame:(CGRect)frame
                                       style:(LYXGradientProgressStyle)style
                                   showTitle:(BOOL)showTitle
                                   animation:(BOOL)animation;

@property (nonatomic,assign)CGFloat progress;
@property (nonatomic,strong)NSArray *gradientCGColors;

- (void)startRendering;

@end
